<?
ob_start();
session_start();
if(!session_is_registered("user"))
header("location:home_hrd.php")
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>pelamar</title>
<link href="stylehome.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="stylehome.css" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #DDFBF2;
}
.style3 {
	color: #999999;
	font-size: 18;
}
.style4 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style5 {color: #334D55}
.style7 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #334D55; }
-->
</style></head>

<body>
<div id="header">
    <img src="image/logo_kanisius.gif" />
</div>

<div id="garis">
  <div align="right"><a href="home_hrd.php">Home</a> | <a href="data pelamar.php">Data Pelamar</a> | Pelamar Lolos 1 | SPPK | <a href="logout.php">Logout </a></div>
</div>

<div id="content">
     <p>
	 <?php
			 include "../librari/koneksi.php";
			
			$tampil = "Select * from pelamar where idPelamar = '".$_GET[id]."' order by idPelamar asc";
			
			$hasil=mysql_query($tampil);
                $no=+1;
                while ($r=mysql_fetch_array($hasil)){
	echo "<h2><strong>DATA PELAMAR</strong></h2>
	  <table>
	<tr>
		<th>No</th><td>$no</td>
	</tr>
	
	<tr>
		<th ma>tahun</th><td>$r[tahun]</td>
	</tr>
	<tr>
		<th>gel</th><td>$r[gelombang]</td>
	</tr>
	<tr>
		<th>nama</th><td>$r[nama]</td>
	</tr>
	<tr>
		<th>alamat</th><td>$r[alamat]</td>
		</tr>
	<tr>
		<th>email</th><td>$r[email]</td>
	</tr>
	<tr>
		<th>kelamin</th> <td>$r[kelamin]</td>
		</tr>
	<tr>
		<th>uisa</th> <td>$r[usia]</td>
		</tr>
	<tr>
		<th>agama</th>  <td>$r[agama]</td>
		</tr>
	<tr>
		<th>pend</th><td>$r[pendTerakhir]</td>
		</tr>
	<tr>
		<th>prodi</th><td>$r[prodi]</td>
		</tr>
	<tr>
		<th>penunjang</th>   <td>$r[kempenunjang]</td>
		</tr>
	<tr>
		<th>posisi</th> <td>$r[posisi]</td>
		</tr>
	<tr>
		<th>no.KTP</th><td>$r[noKTP]</td>
		</tr>
	<tr>
		<th>no.Ijasah</th> <td>$r[noIjasah]</td>
		
	</tr>";

	          
		   	  
           
$no++;
}
echo "</table>";
	
?>
  </p>
     <form id="form1" name="form1" method="post" action="data_pelamar.php">
       <label></label>
       <input type="submit" name="Kembali" value="Kembali" />
  </form>
     <p>&nbsp;     </p>
</div>


</body>
</html>

<?
ob_end_flush();
?>
